if (CMAKE_SIZEOF_VOID_P EQUAL 8)
	option(BUILD_FOR_I386 "OFF by default, define as ON to build for i386." OFF)
	if (BUILD_FOR_I386)
		set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
		set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
	endif ()
endif ()
